package com.mxpio.erp.common.jpa.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * @Author : wpp
 * @Datetime : 2023/7/4 14:04
 * @Desc :
 * @Modor :  Modifytime:
 * @modDesc : 批次表主键对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LotKey implements Serializable {
    private static final long serialVersionUID = 1L;
    @Column(name = "LOT_NO_", updatable = false)
    @Schema(description = "批次号")
    private String lotNo;

    @Column(name = "SUB_LOT_INDEX_",updatable = false)
    @Schema(description = "子批次索引号")
    private String subLotIndex;
}
